package com.example.demo.pojo;

public class Res<T> {
    /**
     * 返回的基础数据
     */
    private T data;
    /**
     * 返回的状态码
     */
    private int code;
    /**
     * 返回的提示语---可以直接给用户看的
     */
    private String msg;
    /**
     * 返回的提示语---具体错误，方便调试
     */
    private String tipsMsg;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTipsMsg() {
        return tipsMsg;
    }

    public void setTipsMsg(String tipsMsg) {
        this.tipsMsg = tipsMsg;
    }
}
